@import '@/app/styles/variables';

.wrapper {
  margin-top: 80px;
  margin-bottom: 80px;
}

.block {
  color: #fff;
  background-color: #1bc47d;
  display: flex;
  flex-wrap: wrap;
  row-gap: 20px;
}

.title {
  width: 100%;
}

.link {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid #27a1ad;
  transition: border-color 0.1s;

  &:hover {
    border-color: #316cf4;
  }
}

.imgBlock {
  margin-left: auto;
  width: 190px;
  height: 220px;

  display: flex;
  align-items: flex-end;
}

@include media(lg) {
  .wrapper {
    margin-bottom: 60px;
  }
}

@include media(sm) {
  .wrapper {
    margin-bottom: 40px;
  }

  .block {
    padding: 50px;
    padding-right: 90px;
  }

  .imgBlock {
    width: 153px;
    height: 183px;
  }

  .icon {
    width: 153px;
    height: 80px;
  }

  .descr {
    width: 550px;
  }
}

@include media(xs) {
  .wrapper {
    margin-bottom: 20px;
  }

  .block {
    padding: 30px;
    flex-direction: column;
    gap: 15px;
  }

  .descr {
    width: fit-content;
  }

  .imgBlock {
    margin-top: 15px;
    margin-left: 0;
    width: 120px;
    height: 64px;
  }

  .icon {
    width: 120px;
    height: 64px;
  }
}
